﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ListCategories.aspx.cs" Inherits="MgmCategories_ListCategories" %>
<%@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls"
    Assembly="System.Web.Mobile" %>
    
<mobile:Form runat="server"   id="FormMaster">
<mobile:command runat="server" text="Add Category" id="cmdAddCategory" alignment="center" />
    <mobile:command runat="server" text="Update Category" id="cmdUpdateCategory" alignment="center" />
    <mobile:command runat="server" text="Delete Category" id="cmdDeleteCategory" alignment="center" />
    <mobile:Label runat="server" StyleReference="title"> Exam Categories </mobile:Label>
    <mobile:ObjectList id="olCategories" 
                       runat="server"                        
                       TableFields="Title;Description">
    </mobile:ObjectList>
</mobile:Form>
<mobile:Form runat="server"  id="FormDetail">
    <mobile:Label runat="server" StyleReference="title"> Exam Categories </mobile:Label>
    <mobile:ObjectList id="olDetailCategories" runat="server" AutoGenerateFields="false">        
        <Field Title="Title" DataField="Title"></Field>   
        <Field Title="Description" DataField="Description"></Field>
    </mobile:ObjectList>    
</mobile:Form>